import 'dart:ui';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class Config {
  //===================================================底层参数
  static const String appKey = '123456789'; //接口私钥

  //===================================================颜色配置
  static const Color colorBg = Color(0xFFf9f9f9); //主背景
  static const Color colorBg2 = Color(0xFFffffff); //次背景
  static const Color colorMain = Color(0xFFA2D2D2); //主题色
  static const Color colorMain2 = Color(0xFFA2D4D3); //次主题色
  static const Color colorWhite = Color(0xFFFFFFFF); //白色
  static const Color colorDivider = Color(0xFFEEEEEE); //分割线
  static const Color colorText1 = Color(0xFF333333); //主文本
  static const Color colorText2 = Color(0xFF666666); //次文本
  static const Color colorText3 = Color(0xFF999999); //提示文本

  // ==================================================字号配置
  static const double textSizeTitle = 36; //大标题字号
  static const double textSizeSubTitle = 32; //副标题字号
  static const double textSizeContent = 28; //内容字号
  static const double textSizeInfo = 24; //中字号
  static const double textSizeMinor = 20; //小字号

  // ==================================================间距配置
  static const double spaceBig = 48; //大间距
  static const double spaceNormal = 32; //标准间距
  static const double spaceMini = 16; //小间距

  //===================================================圆角配置
  static const double roundBig = 34; //大圆角
  static const double roundNormal = 26; //标准圆角
  static const double roundMini = 18; //小圆角

  //===================================================缓存key配置
  static const String languageKey = "language_key"; //语言设置key
}
